package com.blank.shop.seata.config;

import com.blank.shop.seata.ShopAlibabaSeataApplication;
import com.blank.shop.seata.business.AccountService;
import com.blank.shop.seata.business.OrderService;
import com.blank.shop.seata.business.StorageService;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

/**
 * <br/>Date 2021/8/30
 * <br/>Time 16:50:10
 *
 * @author _blank
 */
@Configuration
@Profile({ShopAlibabaSeataApplication.PROFILE_BUSINESS})
@EnableFeignClients(clients = {AccountService.class, OrderService.class, StorageService.class})
@EnableDiscoveryClient
public class BusinessConfig {
}
